<?php  
session_start();
if(isset($_SESSION["login"]))
{	
	include('header.php');
	include('menu.php');

	if(isset($_GET["accueil"]))
	{
		include('Vue/accueil.php');
	}
	
	if(isset($_GET["devis"]))
	{			
		include('Vue/devis.php');
	}
	
	if(isset($_GET["utilisateurs"]))
	{
		include('Vue/utilisateurs.php');
	}
	
	if(isset($_GET["factures"]))
	{
		include('Vue/facture.php');
	}
?>

<?php 
include('footer.php');
}
else
{
	header("Location: index.php"); 
}	
?>